<!--<div class="contact-success"><?php echo __('Gracias por visitarnos. Su mensaje a sido enviado exitosamente') ?></div>-->
<script>
    $(function() {
            $( "#dialog" ).dialog({
                close: function(event, ui) { alert('hola') }
            });
    });
</script>
<div id="dialog" title="Basic dialog">
	<p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>